import React, { Component } from 'react'

class App extends Component {
  render() {
    return (
      <div>
        <h1>App 组件</h1>
      </div>
    )
  }
}

function HigherComponent(WrappedComponent){
  return function Demo(){
    return <WrappedComponent></WrappedComponent>
  }
}

export default HigherComponent(App)